package org.raymond.iworks.study.spring.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@Builder
@EqualsAndHashCode(onlyExplicitlyIncluded=true)
@Entity
@Table(name="gap_table")
public class GapTable {
    @EqualsAndHashCode.Include
    @Id
    private long id;
    private String letter;
    private int num;
}
